.TH NTP.AUDIO 8 2010-02-28 "" "Programmer's Manual"
.\"  EDIT THIS FILE WITH CAUTION  (audio-man.8)
.\"  
.\"  It has been AutoGen-ed  February 28, 2010 at 10:22:28 PM by AutoGen 5.9.9
.\"  From the definitions    audio.def
.\"  and the template file   agman8.tpl
.\"
.SH NAME
.B ntp.audio \- 
audio interface for reference clock audio drivers
.SH SYNOPSIS
.B ntp.audio
.\" Short (flag) options only
.RB [ -\fIflag\fP " [\fIvalue\fP]]..."
.br
.in +8
audio
.SH DESCRIPTION
 
The ntp.audio is an interface for reference clock and Audio devices.This proviedes four functionalities. 
Those functionalities can be accesed throught following commands mentioned here.
.TP
\fB\-Check\fP \fIRead\fP \fIAudio\fP \fIConfiguration\fP
for contents of the form:

idev /dev/input_device
 	cdev /dev/control_device
 	agc pcm_input_device {igain,line,line1,...}
 	monitor pcm_monitor_device {ogain,...}

The device names for the "agc" and "monitor" keywords
can be found by running either the "mixer" program or the
util/audio-pcm program.
Great hunks of this subroutine were swiped from refclock_oncore.c
.SH OPTIONS
.TP
.BR -audio_init
open and initialize audio device.
.sp
This code works with SunOS 4.x, Solaris 2.x, and PCM; however, it is
believed generic and applicable to other systems with a minor twid
or two. All it does is open the device, set the buffer size (Solaris
only), preset the gain and set the input port. It assumes that the
codec sample rate (8000 Hz), precision (8 bits), number of channels
(1) and encoding (ITU-T G.711 mu-law companded) have been set by
default.
.TP
.BR -/etc/ntp.audio
for contents of the form: idev /dev/input_device.
.sp
The device names for the "agc" and "monitor" keywords can be found by running either the "mixer" program or the util/audio-pcm program.Great hunks of this subroutine were swiped from refclock_oncore.c
.TP
.BR -d
display audio parameters.
.sp
This code doesn't really do anything, except satisfy curiousity and verify the ioctl's work.
.TP
.BR -VolumeLevel
adjust codec gains and port.
.sp
This command can be used to adjust the codec gains and port. Volume level gain shoud be between 0-255 , input to output mix (monitor gain) should be in between 0-255 and third parameter for selected I/O port: 1 mic/2 line in  
.TP
.BR \-?
Display usage information and exit.
.TP
.BR \-!
Extended usage information passed thru pager.
.PP
This manual page was \fIAutoGen\fP-erated from the \fBntp.audio\fP
option definitions.
.SH FILES
.TP
.B /etc/ntp.audio
the default name of audio file
.SH SEE ALSO
\fBntp.conf\fP(5),
\fBntpdate\fP(8),
\fBntpdc\fP(8),
\fBntpq\fP(8)

In addition to the manual pages provided,
comprehensive documentation is available on the world wide web
at
http://www.ntp.org/ .
A snapshot of this documentation is available in HTML format in
\fI/usr/share/doc/ntp\fP.

and David L. Mills, \fINetwork Time Protocol (Version 1)\fP, RFC1059.

and David L. Mills, \fINetwork Time Protocol (Version 2)\fP, RFC1119.

and David L. Mills, \fINetwork Time Protocol (Version 3)\fP, RFC1305.
.SH BUGS
The
\fB\fP
utility has gotten rather fat.
While not huge, it has gotten
larger than might be desirable for an elevated-priority
\fB\fP
running on a workstation, particularly since many of
the fancy features which consume the space were designed more with
a busy primary server, rather than a high stratum workstation in
mind.
